import {createRouter,createWebHistory} from 'vue-router'
import Login from '@/page/Login.vue'
import DynamicRouteMap from "@/components/DynamicRouteMap.vue";
import Main from "@/page/Main.vue";

const router = createRouter({
    history:createWebHistory(),
    routes:[
        {
            path:'/',
            component:Login
        },
        {
            path:'/main',
            component:Main
        }
    ]
})
export default router